package com.beiming.libra.domain.dto.tdhnet.requestdto;

import javax.validation.constraints.NotNull;

import com.beiming.libra.common.constants.ValidateMessage;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 通达海请求开庭公告信息。
 * @author lenovo
 */
@Data
@ApiModel("个案基本信息列表")
public class TdhnetWajjbxxRequestDTO {

	@ApiModelProperty(value = "CID值,联系通达海获取", required = true)
	@NotNull(message = ValidateMessage.TDHNET_CID)
	private String cid;
	
	@ApiModelProperty(value = "6位法院代码", required = true)
	@NotNull(message = ValidateMessage.TDHNET_FYDM)
	private String fydm;
	
	@ApiModelProperty(value = "受理法院6位法院代码", required = true)
	@NotNull(message = ValidateMessage.TDHNET_FYDM)
	private String slfy;
	
	@ApiModelProperty(value = "案件类型：1-刑,2-民,6-行,7-赔,8-执,9-其他，可传单个或多个，多个之间用逗号分隔，如：1,2", required = false)
	private String ajlx;
	
	@ApiModelProperty(value = "年度:传字符串，如：2017", required = true)
	@NotNull(message = ValidateMessage.TDHNET_ND)
	private String nd;
	
	@ApiModelProperty(value = "代字:传字符串，如：民初", required = false)
	private String dz;
	
	@ApiModelProperty(value = "序号：传字符串，如：00001", required = false)
	private Integer xh;
	
	@ApiModelProperty(value = "姓名", required = false)
	private Integer xm;
	
	@ApiModelProperty(value="证件号码，不支持模糊查询",required=false)
	private String zjhm;
	
	//================分页信息==========================
	@ApiModelProperty(value="第几页",required = true)
	private Integer postion = 1;
	@ApiModelProperty(value="每页返回记录数",required = false)
	private Integer pagerows;
	
	@Override
	public String toString() {
		return "TdhnetWajjbxxRequestDTO [cid=" + cid + ", fydm=" + fydm + ", slfy=" + slfy + ", ajlx=" + ajlx + ", nd="
				+ nd + ", dz=" + dz + ", xh=" + xh + ", xm=" + xm + ", zjhm=" + zjhm + ", position=" + postion
				+ ", pagerows=" + pagerows + "]";
	}
	
}
